import App from './App'
import { initStore } from "@/common/store.js"
import { initRouter } from "@/common/router.js"
import { initUtil } from "@/common/util.js"

import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  
  initStore(app)
  
  initRouter(app)
  
  initUtil(app)
  
  return {
    app
  }
}
